angular.module("searchapp",['ui.router']).controller("SearchCtrl",function($scope,$rootScope,$http){
	$scope.clear = function(){
		$rootScope.isShow = true;
	}
	$scope.change = function(){
			$http.get('data.json').then(function(res){
			console.log(res)
		})
		}
	})